package us.codecraft.webmagic.vo;





import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @progam:hongye-house
 * @author:GJS
 * @Time:2022/4/20 16:53
 */
public class HongyeHouseVo {
    /**
     * 序号
     */
    private Integer hid;
    /**
     * 名称
     */
    private String houseName;
    /**
     * 详细地址
     */
    private String address;
    /**
     * 价格
     */
    private Double price;
    /**
     * 排序等级
     */
    private Integer sort;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 经纪人
     */
    private Integer uid;
    /**
     * 类型
     */
    private Integer houseType;

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public String getHouseName() {
        return houseName;
    }

    public void setHouseName(String houseName) {
        this.houseName = houseName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getHouseType() {
        return houseType;
    }

    public void setHouseType(Integer houseType) {
        this.houseType = houseType;
    }

    public HongyeHouseVo() {
    }

    public HongyeHouseVo(Integer hid, String houseName, String address, Double price, Integer sort, Date updateTime, Integer status, Integer uid, Integer houseType) {
        this.hid = hid;
        this.houseName = houseName;
        this.address = address;
        this.price = price;
        this.sort = sort;
        this.updateTime = updateTime;
        this.status = status;
        this.uid = uid;
        this.houseType = houseType;
    }
}
